<?php
	@session_start();
	if(empty($_SESSION['last_key'])){
		echo '0';
	}else
	{
		echo '1';
	}
?>